#include("/WEB-INF/htmls/common/layout/_page_layout.html")
#@layout()


#define css()
#end


#define js()

<script>
    //Demo

    layui.use(['form', 'element', 'layer'], function () {
        var form = layui.form;
        var element = layui.element;
        var layer = layui.layer;
        var $ = layui.jquery;

        //监听提交
        form.on('submit(formSubmit)', function (data) {
            layer.msg(JSON.stringify(data.field));
            return true;
        });
    });

</script>
#end


#define content()
<form class="layui-form" action="" id="uploadForm" enctype="multipart/form-data">
    <input type="hidden" name="channelId" id="channelId" value="#(channelId)">
    <input type="hidden" name="id" id="id" value="#(id)">
    <input type="hidden" name="merchantId" id="merchantId" value="#(merchantId)">
    <!--    ----------------填写基本信息start------ -->
    <div class="layui-card step-card" id="step_card_1">
        <div class="layui-card-header">兴易付</div>

        <div class="layui-card-body">
            <!--
                tltmerchantid    通联通商户号   
                tltusername       通联通用户名 
                tltuserpass     通联通用户密码
                tltpfx         通联通私钥
                tltpfxpass    私钥密码
            -->
            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>商户号</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="tltmerchantid" id="tltmerchantid" maxlength="30" placeholder="请填写通联通商户号"
                        class="layui-input" lay-verify="required"
                        value="#(channelConfig!=null?channelConfig.tltmerchantid:null)" required autocomplete="off" />
                </div>

            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>用户名</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="tltusername" id="tltusername" maxlength="30" placeholder="请填写通联通用户名"
                        class="layui-input" lay-verify="required"
                        value="#(channelConfig!=null?channelConfig.tltusername:null)" required autocomplete="off" />
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>用户密码</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="tltuserpass" id="tltuserpass" maxlength="30" placeholder="请填写通联通用户密码"
                        class="layui-input" lay-verify="required"
                        value="#(channelConfig!=null?channelConfig.tltuserpass:null)" required autocomplete="off" />
                </div>

            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>用户私钥</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="tltpfx" id="tltpfx" maxlength="30" placeholder="请填写通联通用户私钥"
                        class="layui-input" lay-verify="required"
                        value="#(channelConfig!=null?channelConfig.tltpfx:null)" required autocomplete="off" />
                </div>

            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><em class="require-mark">*</em>私钥密码</label>
                <div class="layui-input-inline" style="width: 350px;">
                    <input type="text" name="tltpfxpass" id="tltpfxpass" maxlength="30" placeholder="请填写私钥密码"
                        class="layui-input" lay-verify="required"
                        value="#(channelConfig!=null?channelConfig.tltpfxpass:null)" required autocomplete="off" />
                </div>

            </div>



            <div class="layui-form-item"
                style="border-top:1px solid #ddd;padding-top:15px;text-align:center;width:100%;">
                <button class="layui-btn" lay-filter="add" lay-submit>提交</button>
            </div>

        </div>
    </div>
    <!--    ----------填写基本信息end--------------------  -->

</form>
#end